DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Extension: trigger

URL for this extension:

http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger

Status: draft. Extension maintained by: Health Level Seven, Inc. - CDS WG

A description of a triggering event.

Context of Use: Use on element: Basic

usage info: insert a list of places where this extension is used

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger
trigger: A description of a triggering event.
Use on element: Basic
... type1..1codeThe type of triggering event.
... eventName0..1stringThe name of the event (if this is a named-event trigger).
... eventTiming0..1Timing, Reference(Schedule), date, dateTimeThe timing of the event (if this is a period trigger).

doco Documentation for this format

Fulle Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger
trigger: A description of a triggering event.
Use on element: Basic
... extension 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"type"
.... valueCode 1..1codeValue of extension
Binding: TriggerType (required)
... extension 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"eventName"
.... valueString 1..1stringValue of extension
... extension 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"eventTiming"
.... value[x] 1..1Timing, Reference(Schedule), date, dateTimeValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- trigger -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger" >
 <-- extension sliced by url  in any order-->
 <extension url="type"> 1..1 Extension  <!-- 1..1 Extension -->
  <valueCode value="[code]"/><!-- 1..1 Value of extension -->
 </extension>
 <extension url="eventName"> 0..1 Extension  <!-- 0..1 Extension -->
  <valueString value="[string]"/><!-- 1..1 Value of extension -->
 </extension>
 <extension url="eventTiming"> 0..1 Extension  <!-- 0..1 Extension -->
  <value[x]><!-- 1..1 Timing|Reference(Schedule)|date|dateTime 
      Value of extension -->
 </extension>
</extension>

JSON Template

{ // trigger
    "extension" : [ //  sliced by url  in any order
      { // Extension // R! 
        // from Element: extension
        "url" : "type", // R! 
        "valueCode" : "<code>" // R! Value of extension
      },
      { // Extension //
        // from Element: extension
        "url" : "eventName", // R! 
        "valueString" : "<string>" // R! Value of extension
      },
      { // Extension //
        // from Element: extension
        "url" : "eventTiming", // R! 
// value[x]: Value of extension. One of these 4:
        "valueTiming" : { Timing } // R! Value of extension
        "valueReference" : { Reference(Schedule) }, // R! Value of extension
        "valueDate" : "<date>", // R! Value of extension
        "valueDateTime" : "<dateTime>", // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger", // R! 
// value[x]: Value of extension. One of these 33:
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger
trigger: A description of a triggering event.
Use on element: Basic
... type1..1codeThe type of triggering event.
... eventName0..1stringThe name of the event (if this is a named-event trigger).
... eventTiming0..1Timing, Reference(Schedule), date, dateTimeThe timing of the event (if this is a period trigger).

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger
trigger: A description of a triggering event.
Use on element: Basic
... extension 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"type"
.... valueCode 1..1codeValue of extension
Binding: TriggerType (required)
... extension 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"eventName"
.... valueString 1..1stringValue of extension
... extension 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"eventTiming"
.... value[x] 1..1Timing, Reference(Schedule), date, dateTimeValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- trigger -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger" >
 <-- extension sliced by url  in any order-->
 <extension url="type"> 1..1 Extension  <!-- 1..1 Extension -->
  <valueCode value="[code]"/><!-- 1..1 Value of extension -->
 </extension>
 <extension url="eventName"> 0..1 Extension  <!-- 0..1 Extension -->
  <valueString value="[string]"/><!-- 1..1 Value of extension -->
 </extension>
 <extension url="eventTiming"> 0..1 Extension  <!-- 0..1 Extension -->
  <value[x]><!-- 1..1 Timing|Reference(Schedule)|date|dateTime 
      Value of extension -->
 </extension>
</extension>

JSON Template

{ // trigger
    "extension" : [ //  sliced by url  in any order
      { // Extension // R! 
        // from Element: extension
        "url" : "type", // R! 
        "valueCode" : "<code>" // R! Value of extension
      },
      { // Extension //
        // from Element: extension
        "url" : "eventName", // R! 
        "valueString" : "<string>" // R! Value of extension
      },
      { // Extension //
        // from Element: extension
        "url" : "eventTiming", // R! 
// value[x]: Value of extension. One of these 4:
        "valueTiming" : { Timing } // R! Value of extension
        "valueReference" : { Reference(Schedule) }, // R! Value of extension
        "valueDate" : "<date>", // R! Value of extension
        "valueDateTime" : "<dateTime>", // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/cqif-basic-guidance-trigger", // R! 
// value[x]: Value of extension. One of these 33:
  }